package com.bjsxt.livegoods.sendyzm.service.controller;

import com.bjsxt.livegoods.sendyzm.service.service.SendyzmService;
import com.bjsxt.livegoods.sendyzm.serviceapi.SendyzmServiceAPI;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * 登录验证码服务提供者-控制器
 */
@RestController
public class SendyzmServiceController implements SendyzmServiceAPI {

    @Autowired
    private SendyzmService sendyzmService;

    @Override
    public Map<String, Object> send(String phone) {
        return sendyzmService.send(phone);
    }
}
